package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 岗位老师
 * </p>
 *
 * @author hpiggy
 * @since 2025-08-21
 */
@TableName("skill_stations_teacher")
@ApiModel(value = "SkillStationsTeacher对象", description = "岗位老师")
@Data
public class SkillStationsTeacher implements Serializable {

    private static final long serialVersionUID = 1L;


    private Long id;

    private Integer yearPart;

    private Integer quarterNum;

    private Long departmentId;

    @ApiModelProperty("1:教学艺术")
    private Integer type;

    @ApiModelProperty("岗位id")
    private Long stationsId;

    @ApiModelProperty("科目id")
    private Long subjectsId;

    private Long teacherId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @ApiModelProperty("科目名称")
    @TableField(exist = false)
    private String subjectsName;

    @ApiModelProperty("教师名")
    @TableField(exist = false)
    private String teacherName;

    @ApiModelProperty("岗位名称")
    @TableField(exist = false)
    private String stationsName;


}
